
public class Principal {

    public static void main(String[] args) {

        for (int i = 1; i <= 100; i++) {
            if (checksDivision(i, 3) && checksDivision(i, 5))
                System.out.println("FizzBuzz");
            else if (checksDivision(i, 3))
                System.out.println("Fizz");
            else if (checksDivision(i, 5))
                System.out.println("Buzz");
            else
                System.out.println(i);
        }
    }

    public static boolean checksDivision(int numerator, int denominator) {
        if (numerator % denominator == 0)
            return true;
        else
            return false;
    }

}
